package com.longshen.dubbo.api.service;

import java.util.List;

import com.longshen.dubbo.api.model.AdminMenu;

public interface AdminMenuService {
	
	/**
	 * 
	 * @Title: add   
	 * @Description: 添加菜单  
	 * @param in
	 * @return      
	 * @return: AdminMenu      
	 * @throws
	 */
	public AdminMenu add(AdminMenu in);
	
	/**
	 * 
	 * @Title: delById   
	 * @Description: 删除菜单 同步删除子菜单  
	 * @param id      
	 * @return: void      
	 * @throws
	 */
	public void  delById(String id);
	
	/**
	 * 
	 * @Title: findByID   
	 * @Description: 查询菜单  
	 * @param id
	 * @return      
	 * @return: AdminMenu      
	 * @throws
	 */
    public AdminMenu findByID(String id);
    
    /**
     * 
     * @Title: listAll   
     * @Description: 查询所有菜单   
     * @return      
     * @return: List<AdminMenu>      
     * @throws
     */
    public List<AdminMenu> listAll();
    /**
     * 
     * @Title: allDirectory   
     * @Description: 查询所有目录   
     * @return      
     * @return: List<AdminMenu>      
     * @throws
     */
    public List<AdminMenu> allDirectory();
    
    
    
    public void  modById(AdminMenu in);

    
}
